From: Richard M. Stallman Date: Tue, 3 Jul 2007 02:54:27 +0000 (+0000) Subject: (find-file-confirm-inexistent-file): Make it a defcustom. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~18103 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=9f39febd2fad0f46fca49522ebf2edc5b82e4d04;p=emacs.git (find-file-confirm-inexistent-file): Make it a defcustom. Make nil the default. --- diff --git a/lisp/files.el b/lisp/files.el index f6fd82d0462..873eeee7199 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -1051,8 +1051,11 @@ Recursive uses of the minibuffer will not be affected." ,@body) (remove-hook 'minibuffer-setup-hook ,hook))))) -(defvar find-file-confirm-inexistent-file t - "If non-nil, `find-file' will require confirmation before visiting a new file.") +(defcustom find-file-confirm-inexistent-file nil + "If non-nil, `find-file' requires confirmation before visiting a new file." + :group 'find-file + :version "23.1" + :type 'boolean) (defun find-file-read-args (prompt mustmatch) (list (let ((find-file-default